<?php
require_once '../src/Singleton.php';

use PhpTool\Singleton;

class Test
{
    use Singleton;
    
    public $num = 1;
    
    public function __construct()
    {
    }
    
    public function say()
    {
        $this->num++;
        var_dump('wang wang !!!--' . $this->num);
        echo "<br>";
    }
}